Lidar-odometry localization + dedicated mote_simulation package#11
Merged
Conversation
Localization (shared by the real robot and the sim): - kinematic_icp owns the odom->base transform; wheel odometry reaches it as a motion prior via a new odom_tf_relay node, which republishes the inverted wheel pose as a base_footprint->odom_wheel leaf - localization_launch.py runs both nodes and accepts use_sim_time - diff_drive_controller no longer publishes the odom TF (enable_odom_tf: false) since kinematic_icp now owns that edge Simulation: - move sim_launch.py, the worlds, and the smoke test out of mote_bringup into a new workstation-only mote_simulation package (excluded from the robot sync, built only in the sim pixi environment) - sim_launch.py includes the shared localization_launch.py and pulls controllers/laser_filter config from mote_bringup, so the sim and the robot run the same localization stack - selectable world arg; add office_world.sdf (hospital-ward stress layout) Verified with pixi run sim-test (drive, odometry, scan, and slam map). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QXgJsGhCMsQ2yf4js6dDqo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces the lidar-odometry localization architecture (shared by the real robot and the sim) and extracts all simulation assets into a dedicated, workstation-only
mote_simulationpackage.Localization
kinematic_icpnow owns theodom -> basetransform.odom_tf_relaynode, which republishes the inverted wheel pose as abase_footprint -> odom_wheelleaf.localization_launch.pyruns both nodes and acceptsuse_sim_time.diff_drive_controllerno longer publishes the odom TF (enable_odom_tf: false).Simulation
sim_launch.py, the worlds, and the smoke test out ofmote_bringupinto a newmote_simulationpackage, excluded from the robot sync and built only in thesimpixi environment.sim_launch.pyincludes the sharedlocalization_launch.pyand pulls controllers/laser-filter config frommote_bringup, so the sim and robot run the same localization stack.world:=arg; addsoffice_world.sdf(hospital-ward stress layout).Test plan
pixi run sim-testpasses: drive (0.600 m forward, 2.000 rad spin), 10 Hz scan with 720/720 finite ranges, slam_toolbox builds a 116x116 map.🤖 Generated with Claude Code